package com.example.springbootdemo.factory.commonfactory;

/**
 * @author ：cici
 * @date ：Created in 2019/3/12 13:30
 */
public class Client {

    public static void main(String[] args) {
        Creator creator = new ConcreteCreator();
        Product product = creator.createProduct(product1.class);
        product.methor1();
        product.methor2();
    }
}
